package com.dhecp.project.business.domain;

import java.util.Date;

import com.dhecp.core.domain.BaseBusinessEntitySimple;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 票据登记 实体类
 * @author DH-lwl
 * @version 2020年3月31日
 */
public class StockInvoiceManage extends BaseBusinessEntitySimple{

	private static final long serialVersionUID = 1L;
	
	private String gModel; 	//规格
	private Double gPrice;	//成本价
	private String vFkTj;	//票据类型
	private String vFkTjMc;	//票据类型名称
	private String vPh;		//支票号码
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dRq;		//日期
	private String vZy;		//摘要
	private String vFkDw;	//背书人
	private String vXm;		//项目
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dDqr;		//票据到期日
	private String vCprQc;	//出票人全称
	private String vCprZh;	//出票人账号
	private String vFkhQc;	//付款行全称
	private String vFkhJc;	//付款行简称
	private String vJbr;	//经办人
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dJsr;		//结算日
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dSdPjRq;		//收到票据日期
	private Double fSdPjrDqTs;	//收到票据日到期天数
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dDzRq;		//票据到期日
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dZrRq;		//票据到期日
	private String vBBsr;	///被背书人
	private Boolean bSkBz;	//收款标志
	private Boolean bFkBz;	//付款标志
	
	public Double getgPrice() {
		if (gPrice == null) {
			return 0.0;
		}
		return gPrice;
	}
	public void setgPrice(Double gPrice) {
		this.gPrice = gPrice;
	}
	public String getvFkTj() {
		return vFkTj;
	}
	public void setvFkTj(String vFkTj) {
		this.vFkTj = vFkTj;
	}
	public String getvFkTjMc() {
		return vFkTjMc;
	}
	public void setvFkTjMc(String vFkTjMc) {
		this.vFkTjMc = vFkTjMc;
	}
	public String getvPh() {
		return vPh;
	}
	public void setvPh(String vPh) {
		this.vPh = vPh;
	}
	public Date getdRq() {
		return dRq;
	}
	public void setdRq(Date dRq) {
		this.dRq = dRq;
	}
	public String getvZy() {
		return vZy;
	}
	public void setvZy(String vZy) {
		this.vZy = vZy;
	}
	public String getvFkDw() {
		return vFkDw;
	}
	public void setvFkDw(String vFkDw) {
		this.vFkDw = vFkDw;
	}
	public String getvXm() {
		return vXm;
	}
	public void setvXm(String vXm) {
		this.vXm = vXm;
	}
	public Date getdDqr() {
		return dDqr;
	}
	public void setdDqr(Date dDqr) {
		this.dDqr = dDqr;
	}
	public String getgModel() {
		return gModel;
	}
	public void setgModel(String gModel) {
		this.gModel = gModel;
	}
	public String getvCprQc() {
		return vCprQc;
	}
	public void setvCprQc(String vCprQc) {
		this.vCprQc = vCprQc;
	}
	public String getvCprZh() {
		return vCprZh;
	}
	public void setvCprZh(String vCprZh) {
		this.vCprZh = vCprZh;
	}
	public String getvFkhQc() {
		return vFkhQc;
	}
	public void setvFkhQc(String vFkhQc) {
		this.vFkhQc = vFkhQc;
	}
	public String getvFkhJc() {
		return vFkhJc;
	}
	public void setvFkhJc(String vFkhJc) {
		this.vFkhJc = vFkhJc;
	}
	public String getvJbr() {
		return vJbr;
	}
	public void setvJbr(String vJbr) {
		this.vJbr = vJbr;
	}
	public Date getdJsr() {
		return dJsr;
	}
	public void setdJsr(Date dJsr) {
		this.dJsr = dJsr;
	}
	public Date getdSdPjRq() {
		return dSdPjRq;
	}
	public void setdSdPjRq(Date dSdPjRq) {
		this.dSdPjRq = dSdPjRq;
	}
	public Double getfSdPjrDqTs() {
		if (fSdPjrDqTs == null) {
			return 0.0;
		}
		return fSdPjrDqTs;
	}
	public void setfSdPjrDqTs(Double fSdPjrDqTs) {
		this.fSdPjrDqTs = fSdPjrDqTs;
	}
	public Date getdDzRq() {
		return dDzRq;
	}
	public void setdDzRq(Date dDzRq) {
		this.dDzRq = dDzRq;
	}
	public Date getdZrRq() {
		return dZrRq;
	}
	public void setdZrRq(Date dZrRq) {
		this.dZrRq = dZrRq;
	}
	public String getvBBsr() {
		return vBBsr;
	}
	public void setvBBsr(String vBBsr) {
		this.vBBsr = vBBsr;
	}
	public Boolean getbSkBz() {
		return bSkBz;
	}
	public void setbSkBz(Boolean bSkBz) {
		this.bSkBz = bSkBz;
	}
	public Boolean getbFkBz() {
		return bFkBz;
	}
	public void setbFkBz(Boolean bFkBz) {
		this.bFkBz = bFkBz;
	}
	
}
